<template>
  <swipe-item>
    <slot></slot>
  </swipe-item>
</template>

<script setup>
import { ref, defineProps, computed, onMounted, onBeforeMount } from 'vue'
import bus from '../utils/bus'
import SwipeItem from '../up-swipe/swipe-item.vue'
const props = defineProps({
  title: {
    type: String,
    default: ''
  },
  preName: {
    type: String,
    default: ''
  },
  name: {
    type: String,
    default: ''
  }
})

bus.emit('getTabTitle', {
  title: props.title,
  name: props.name,
  preName: props.preName
})

onBeforeMount(() => {
  // 131
})
onMounted(() => {
  // getTabTitle()
  // console.log(props.name, props.title)
})
</script>

<style>

</style>
